<?
//inculde即可以使用data数据。本页所有的data数据，倾在controller都处理好
include_once("../../../common/modules/checkA.php");
include_once("../../../../config.php");
include_once("../controller/important_student.php");
?>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?php include ROOT_PATH_.'/controller/common/modules/head.php'; ?>
    <link href="../asset/css/member.css?versinon=202312132"      rel="stylesheet" type="text/css"/>
    <?php include ROOT_PATH_ . '/application/right_plane/index.php'; ?>
    <link href="/application/right_plane/style.css" rel="stylesheet" type="text/css"/>
    <script src="/application/right_plane/js.js"></script>

</head>


<body>

<div id="topbar">     <?php include ROOT_PATH_.'/controller/common/modules/topbar.php'; ?> </div>


<div id="container" class="<? echo $system_part ?> import_student">


        <div id="sidebar">
            <?php include ROOT_PATH_.'/controller/common/modules/sidebar.php'; ?>
        </div>


<div id="content" class="layui-form">
    <?php $page_title='导入学生信息';?>
    <?php include ROOT_PATH_ . '/controller/common/module/mod-page-title.php'; ?>



    <div class="detail-box">

<blockquote class="layui-elem-quote">
       <a href="../asset/file/template_of_student_import.xlsx"> 请点击此处【下载】导入模板文件，填写好数据，并上传。</a>
       <a href="../asset/file/template_of_student_import.xlsx"> 导入的学生均属于管理员账号：系统用户 </a>
</blockquote>





        <?php $page_title='请上传文件';?>
        <?php include ROOT_PATH_ . '/controller/common/module/mod-section-title.php'; ?>

        <div class="lay-step" style="width: 750px;overflow: hidden;">
            <div class="step-item" style="width: 33.3333%;">
                <div class="step-item-tail"><i class="step-item-tail-done"></i></div>
                <div class="step-item-head  step-item-head-active"><i class="layui-icon">1</i></div>
<!--                完成的话，就用icon-ok样式-->
<!--                <div class="step-item-head  step-item-head-active"><i class="layui-icon layui-icon-ok"></i></div>-->
                <div class="step-item-main">
                    <div class="step-item-main-title">上传文件</div>
                </div>
            </div>
            <div class="step-item" style="width: 33.3333%;">
                <div class="step-item-tail"><i class="step-item-tail-done"></i></div>
                <div class="step-item-head"><i class="layui-icon">2</i></div>
                <div class="step-item-main">
                    <div class="step-item-main-title">确认数据</div>
                </div>
            </div>
            <div class="step-item" style="width: 33.3333%;">
                <div class="step-item-head"><i class="layui-icon">3</i></div>
                <div class="step-item-main">
                    <div class="step-item-main-title">完成</div>
                </div>
            </div>
        </div>


        <br/>

        <form id="edit-member-form" method="post"
                      action="import_student_edit.php?<?= $data['url_parameter'] ?>"
                      enctype="multipart/form-data" class="layui-form">

                    <div class="layui-form-item ">
                        <label class="layui-form-label">导入excel文件：</label>
                        <div class="layui-input-block">
                            <input type="file" name="importfile" style="width: 600px;" onchange="fileChange(this);"/>
                        </div>
                    </div>


            <div class="function">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit   type="submit">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>

        </form>






    </div>



<!--content端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>


</html>
